<?php 
include("ajaxinlcudes.php");
$colname_rs_search = "-1";
if (isset($_GET['qs'])) {
  $colname_rs_search = $_GET['qs'];
}
$rs_search =searchCategory($colname_rs_search);
$row_rs_search = mysql_fetch_assoc($rs_search);
$totalRows_rs_search = mysql_num_rows($rs_search);
echo "param ". $colname_rs_search;
?>
<table border="0" cellpadding="4" cellspacing="0">
  <?php do { ?>
    <tr>
      <td><a href="?page=category&amp;itemid=<?php echo $row_rs_search['category_id']; ?>"><?php echo $row_rs_search['category_name']; ?></a></td>
    </tr>
    <?php } while ($row_rs_search = mysql_fetch_assoc($rs_search)); ?>
</table>
<?php 


mysql_free_result($rs_search);
?>
